<template>
	<view class="page-index">
		<view class="list-box">
			<view class="item-box" v-for="(item,index) in list" :key="index" @click="itemBnt(item)">
				<view class="left-box">
					<image :src="item.goodsCoverPic" class="left-img" mode=""></image>
				</view>
				<view class="right-box">
					<view class="name-box">
						<view class="name">
							{{item.goodsName}}
						</view>
					</view>
					<view class="type-box">
				订单类型 :  {{item.type == 1? '会员' : item.type == 2 ? '福利商品' : '生活商品'}}
			</view>
					<view class="phone-box">
						<view class="text">
							订单编号 : {{item.orderNo}}
						</view>
					</view>
					<view class="address">
					
						<view class="text">
							下单时间 : {{item.cjTime}}
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="empty-box" v-if="emptyShow">
			<image class="images" src="@/static/index/empty.png" mode=""></image>
			<view class="text">
				你还没有订单
			</view>
		</view>
	</view>
</template>

<script src="./page.js"></script>

<style scoped lang="scss">
	@import 'page.scss';
</style>
